package com.cloudfun.campusshare.common.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.cloudfun.campusshare.common.constant.BaseConstant;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * Created by Huqin on 2020/2/20
 */
@Data
public class DeviceExportVO implements Serializable {

    private static final long serialVersionUID = 1L;

    public static final int WIDTH = 17;

    /**
     * 设备名称
     */
    @Excel(name = "设备名称", width = WIDTH)
    private String deviceName;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号", width = WIDTH)
    private String deviceNumber;

    /**
     * 设备型号
     */
    @Excel(name = "设备型号", width = WIDTH)
    private String deviceType;

    /**
     * 归属商户
     */
    @Excel(name = "归属商户", width = WIDTH)
    private String username;

    /**
     * 产品类型
     */
    @Excel(name = "设备类型", width = WIDTH)
    private String productType;

    /**
     * 设备地址
     */
    @Excel(name = "设备地址", width = WIDTH)
    private String address;

    /**
     * SIM卡号
     */
    @Excel(name = "SIM卡号", width = WIDTH)
    private String simCard;

    /**
     * 绑定时间
     */
    @Excel(name = "绑定时间", width = WIDTH, exportFormat = BaseConstant.EXPORT_DATE_FORMAT)
    private Date bindTime;

    /**
     * 绑定时间
     */
    @Excel(name = "上次交互时间", width = WIDTH, exportFormat = BaseConstant.EXPORT_DATE_FORMAT)
    private Date lastInteractionTime;

    /**
     * 归属项目
     */
    @Excel(name = "归属项目", width = WIDTH)
    private String projectName;

    /**
     * 设备识别码
     */
    @Excel(name = "设备识别码", width = WIDTH)
    private String imei;

}
